package com.visionet.school.app.web.entity.tclass;

import com.visionet.school.app.web.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by dzd on 2017/3/2.
 */
@Entity
@Table(name = "t_activity")
public class ClassActivity extends IdEntity {

    @Column(name = "activity_title", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String activityTitle;

    @Column(name = "activity_content", unique = false, nullable = true, insertable = true, updatable = true, length = 256)
    private String activityContent;

    @Column(name = "activity_time", nullable = true, updatable = true)
    private String activityTime;

    @Column(name = "activity_address", unique = false, nullable = true, insertable = true, updatable = true, length = 256)
    private String activityAddress;

    @Column(name = "class_id", unique = false, nullable = true, insertable = true, updatable = true, length = 32)
    private String classId;

    public String getActivityTitle() {
        return activityTitle;
    }

    public String getActivityContent() {
        return activityContent;
    }

    public String getActivityTime() {
        return activityTime;
    }

    public String getActivityAddress() {
        return activityAddress;
    }

    public String getClassId() {
        return classId;
    }

    public void setActivityTitle(String activityTitle) {
        this.activityTitle = activityTitle;
    }

    public void setActivityContent(String activityContent) {
        this.activityContent = activityContent;
    }

    public void setActivityTime(String activityTime) {
        this.activityTime = activityTime;
    }

    public void setActivityAddress(String activityAddress) {
        this.activityAddress = activityAddress;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }
}
